<template>
	<view class="content">
		<u-form labelPosition="left" labelWidth="auto" style="font-size:'24rpx'">
			<view class="title">
				<text>基本信息</text>
			</view>
			<view class="form">
				<u-form-item label="备品编号" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
				<u-form-item label="备品名称" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
				<u-form-item label="备品类别">
					<u-input border="none" placeholder="请选择"></u-input>
					<u-icon slot="right" name="arrow-right"></u-icon>
				</u-form-item>
			</view>
			<view class="title">
				<view class="form">
					<u-form-item label="备品规格" borderBottom>
						<u-input border="none" placeholder="请填写"></u-input>
					</u-form-item>
					<u-form-item label="计量单位" borderBottom>
						<u-input border="none" placeholder="请填写"></u-input>
					</u-form-item>
					<u-form-item label="采购单价" borderBottom>
						<u-input border="none" placeholder="请填写"></u-input>
					</u-form-item>
					<u-form-item label="图片">
						<u-upload
								:fileList="fileList"
								@afterRead="afterRead"
								@delete="deletePic"
								name="1"
								multiple
								:maxCount="10"
							></u-upload>
						<u-icon slot="right" name="arrow-right"></u-icon>
					</u-form-item>
				</view>
			</view>
			<view class="title">
				<text>预警信息</text>
			</view>
			<view class="form">
				<u-form-item label="预警库存" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
				<u-form-item label="预警库存" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
				<u-form-item label="预警下限" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
			</view>
			<view class="title">
				<text>预警信息</text>
			</view>
			<view class="form">
				<u-form-item label="自动批次" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
				<u-form-item label="批次号" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
			</view>
			<view class="title">
				<text>仓库信息</text>
			</view>
			<view class="form">
				<u-form-item label="仓库名称" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
					<u-icon slot="right" name="arrow-right"></u-icon>
				</u-form-item>
				<u-form-item label="库位名称" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
					<u-icon slot="right" name="arrow-right"></u-icon>
				</u-form-item>
			</view>
			<view class="title">
				<text>供应商信息</text>
			</view>
			<view class="form">
				<u-form-item label="供货商名称" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
				<u-form-item label="联系电话" borderBottom>
					<u-input border="none" placeholder="请填写"></u-input>
				</u-form-item>
			</view>
			<view class="title">
				<text>备注</text>
			</view>
			<view class="form">
				<u-form-item borderBottom>
					<u--textarea placeholder="请输入内容"></u--textarea>
				</u-form-item>
			</view>
			<view>
				<u-form-item>
					<u-button text="提交" type="primary"></u-button>
				</u-form-item>
			</view>
		</u-form>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				fileList: [],
				
			}
		},
		methods: {
			deletePic(){},
			afterRead(){},
		}
	}
</script>

<style lang="less">
	page {
		background-color: rgb(248, 248, 248);
		font-size: 24rpx;
		padding: 0 32rpx 0 32rpx;
	}

	/deep/form {
		font-size: 24rpx;
	}

	.content {
		display: flex;
		flex-direction: column;
	}

	.title {
		margin-top: 32rpx;
	}

	.form {
		background-color: #fff;
		padding: 0 32rpx 0 32rpx;
		border-radius: 10rpx;
		margin-top: 32rpx;
	}
</style>